package com.hnust.service.impl;

import com.hnust.api.PaperManagementApis;
import com.hnust.api.ReviewPaperApi;
import com.hnust.domain.Result;
import com.hnust.service.PaperManageServices;
import com.hnust.store.dto.JudgePaperDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("paperManageServices")
public class PaperManageServiceImpl implements PaperManageServices {
    @Autowired
    PaperManagementApis paperManagementApis;
    @Autowired
    ReviewPaperApi reviewPaperApi;

    @Override
    public String getTest(String testId) {
       return paperManagementApis.getTest(testId);
    }

//    @Override
//    public Result<JudgePaperDto> findMassage(String testId, String paperId, String studentId) {
//        return reviewPaperApi.getAllQuestionMessage(testId, paperId, studentId);
//    }
}
